From: Roland McGrath Date: Sat, 8 Jan 1994 22:06:34 +0000 (+0000) Subject: (version): Fix sed regexp to match two-elt version number. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93534 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82;p=emacs.git (version): Fix sed regexp to match two-elt version number. --- diff --git a/configure1.in b/configure1.in index 1b326058294..86446302c67 100755 --- a/configure1.in +++ b/configure1.in @@ -1291,7 +1291,7 @@ fi [ #### Find out which version of Emacs this is. version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ - | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` + | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'` if [ x"${version}" = x ]; then echo "${progname}: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2